<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<% String actionUrl = request.getContextPath() + "/DispatchAction.do"; %>
<html>
<EF:EFHead includeDefault="true">
<script type="text/javascript" src="./ZM/zm.js"></script>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCHA0" method="POST" action="<%=actionUrl%>">
		<EF:EFInput type="hidden" ename="fdKeyId" cname="主键" etc=" " />
		<EF:EFInput type="hidden" ename="fdMiningId" cname="矿井id" etc=" " />
		<div id="ef_tab_y" lastRange="98%" eftabWidth="100%" style="overflow: hidden;border-width:0px;padding:0px">
			<div id="tab1" title="机电运输计划" efRemember="yes" style="border:0px;padding:0px">			
				<div id="ef_region_result" title="记录集" style="overflow: scroll">
					<div id="ef_grid_r" title="页面信息" style="overflow: hidden; height: 320px;"></div>
				</div>
				<div id = "ef_region_detail" title="验收信息" > 
					<div id = "ef_grid_d" title="页面信息" style="height:320px;"></div>
				</div>
				<div id = "ef_region_inqu1" title="验收信息" efRegionShowClear=true efRegionSave=true> 
					<EF:EFInput   type="hidden" cname="主键" 	  blockId="inqu_status1" ename="fdKeyId" row="0" />
					<EF:EFInput   type="hidden" cname="外键" 	  blockId="inqu_status1" ename="fdForeignId" row="0" />
				    <EF:EFInput   type="hidden" cname="矿井id" 	  blockId="inqu_status1" ename="fdMiningId" row="0" />
					 <table>
						<tr>
						    <td nowrap width="10%" align="right">*验收类型：</td>
							<td nowrap width="15%">
								<EF:EFSelect blockId="inqu_status1" row="0" ename="fdValidateType" etc=" style='width:140.8px;'">  
									<EF:EFOptions blockId="cmes.ch.planValidateData" labelColumn="display" valueColumn="value"></EF:EFOptions>
								</EF:EFSelect> 
							</td>
							<td nowrap width="10%" align="right">*验收日期：</td>
							<td nowrap width="15%"><EF:EFInput blockId="inqu_status1" row="0" type="text" ename="fdValidateDate" popup="date" etc="maxLength='19' size='19' style='width:124.8px;'"/></td>
							<td nowrap width="10%" align="right">*验收人：</td>
							<td nowrap ><EF:EFInput blockId="inqu_status1" row="0" type="text" ename="fdValidatePeople" /></td>
							<td nowrap width="10%" align="right">*验收单位：</td>
							<td nowrap width="15%">
								<EF:EFSelect blockId="inqu_status1" row="0" ename="fdValidateDepartmentId" etc=" style='width:140.8px;'"> 
								    <EF:EFOption label="" value=""></EF:EFOption> 
									<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
								</EF:EFSelect> 
						    </td>   
						</tr> 
						<tr>
							<td nowrap align="right">*验收情况 :</td>
							<td nowrap colspan="7"><EF:EFInput blockId="inqu_status1" row="0" type="textarea" ename="fdValidateCondition" etc=" rows='3' cols='180'"/></td>
						</tr> 
						<tr>
							<td nowrap align="right">验收内容 :</td>
							<td nowrap colspan="7"><EF:EFInput blockId="inqu_status1" row="0" type="textarea" ename="fdValidateContent" etc=" rows='5' cols='180'"/></td>
						</tr> 
					</table>
				</div> 
			</div>
			<div id="tab2" title="生产问题"  eftabSrc="about:blank" efRemember="yes" style="border:0px;padding:0px;overflow: auto;"></div>
			
		</div>

				
		<EF:EFRegion />  
		<EF:EFGrid blockId="result" paintId="ef_grid_r" serviceName="ZMCHA0" queryMethod="query" autoDraw="no" readonly="true"   ajax="true" style="operationBar:false">
				<EF:EFColumn ename="fdKeyId" cname="主键"  visible="false"></EF:EFColumn>
			<EF:EFColumn ename="fdPlanYear" cname="计划年" align="center"></EF:EFColumn>
			<EF:EFColumn ename="fdPlanMonth" cname="计划月" align="center"></EF:EFColumn>
			<EF:EFColumn ename="fdTitle" cname="计划名称" align="center" width="200"></EF:EFColumn>			
     		<%-- <EF:EFComboColumn ename="fdCreateDepartmentId" cname="编制部门" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" ></EF:EFComboColumn> --%>
     		<EF:EFColumn ename="fdCreateDepartment" cname="编制部门" align="center"></EF:EFColumn>	
     		<EF:EFColumn ename="fdCreatorId" cname="编制人" align="center"></EF:EFColumn>	
			<EF:EFColumn ename="other" cname="操作"  displayType="hyperlink" readonly="true" align="center" />
			<EF:EFColumn ename="fdMiningId" cname="所属矿井id" align="center"  visible="false"></EF:EFColumn>							
        </EF:EFGrid>
        <EF:EFGrid blockId="result" paintId="ef_grid_d" serviceName="ZMCH91" queryMethod="query" readonly="true" autoDraw="no" ajax="true" style ="operationBar:false;">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdForeignId" cname="外键" visible="false" width="100"></EF:EFColumn>
			<EF:EFComboColumn ename="fdValidateType" cname="验收类型" blockName="cmes.ch.planValidateData" enable="false" align="center" width="60" labelProperty="display" valueProperty="value" />
			<EF:EFColumn ename="fdValidateDate" cname="验收日期"  enable="false"  dateFormat="yyyy-MM-dd" editType="date" align="center" width="100"></EF:EFColumn>
			<EF:EFColumn ename="fdValidatePeople" cname="验收人"  enable="false" align="center" width="60" ></EF:EFColumn>
			<EF:EFComboColumn ename="fdValidateDepartmentId" cname="验收单位" nullable="false" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" ></EF:EFComboColumn>
			<EF:EFColumn ename="fdValidateCondition" cname=" 验收情况 "  enable="false"  width="100" align="left"></EF:EFColumn>	
			<EF:EFColumn ename="fdValidateContent" cname=" 验收内容 "  enable="false"  width="200" align="left"></EF:EFColumn>	
		</EF:EFGrid> 				 		
        
 		<EF:EFTab tabId="y" action="fundiv"/> 
		<script type="text/javascript"> 
			var frames = $("#ef_tab_y iframe");
			if(window.parent != window && window.parent.hideSubPageHead == true) {
				$("#ef_tab_y").css("padding-top", "80px").css("padding-left", "4px");
			}
			onSubPageLoad = function(wnd) {
				for(var i=0; i<frames.length; i++) {
					if (frames[i].contentWindow == wnd) {
						adjustFrameHeight(frames[i]);
						break;
					}
				}
			}
			adjustFrameHeight = function(frame) {
				var oldHeight = $(frame).height();
				$(frame).css("border", "0");
				$("#jquery_tab_div_content").css("border", "0");
				var height = frame.contentWindow.document.body.scrollHeight;
				if (height > oldHeight) {
					$(frame).css("height", height);
				}
				if(window.parent != window && window.parent.hideSubPageHead == true) {
					var pFrames = window.parent.frames;
					for(var i=0; i<pFrames.length; i++) {
						if (pFrames[i].contentWindow == window) {
							window.parent.adjustFrameHeight(pFrames[i]);
							break;
						}
					}
				}
			}
			</script>			
	</EF:EFForm> 
</EF:EFBody> 
</html>